Optimal. Leaf size=83 \[ \frac {2 \left (c d^2-a e^2\right )^2 (d+e x)^{7/2}}{7 e^3}-\frac {4 c d \left (c d^2-a e^2\right ) (d+e x)^{9/2}}{9 e^3}+\frac {2 c^2 d^2 (d+e x)^{11/2}}{11 e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {640, 45}
\begin {gather*} -\frac {4 c d (d+e x)^{9/2} \left (c d^2-a e^2\right )}{9 e^3}+\frac {2 (d+e x)^{7/2} \left (c d^2-a e^2\right )^2}{7 e^3}+\frac {2 c^2 d^2 (d+e x)^{11/2}}{11 e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \sqrt {d+e x} \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2 \, dx &=\int (a e+c d x)^2 (d+e x)^{5/2} \, dx\\ &=\int \left (\frac {\left (-c d^2+a e^2\right )^2 (d+e x)^{5/2}}{e^2}-\frac {2 c d \left (c d^2-a e^2\right ) (d+e x)^{7/2}}{e^2}+\frac {c^2 d^2 (d+e x)^{9/2}}{e^2}\right ) \, dx\\ &=\frac {2 \left (c d^2-a e^2\right )^2 (d+e x)^{7/2}}{7 e^3}-\frac {4 c d \left (c d^2-a e^2\right ) (d+e x)^{9/2}}{9 e^3}+\frac {2 c^2 d^2 (d+e x)^{11/2}}{11 e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 67, normalized size = 0.81 \begin {gather*} \frac {2 (d+e x)^{7/2} \left (99 a^2 e^4-22 a c d e^2 (2 d-7 e x)+c^2 d^2 \left (8 d^2-28 d e x+63 e^2 x^2\right )\right )}{693 e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.68, size = 68, normalized size = 0.82
method | result | size |
derivativedivides | \(\frac {\frac {2 c^{2} d^{2} \left (e x +d \right )^{\frac {11}{2}}}{11}+\frac {4 \left (e^{2} a -c \,d^{2}\right ) c d \left (e x +d \right )^{\frac {9}{2}}}{9}+\frac {2 \left (e^{2} a -c \,d^{2}\right )^{2} \left (e x +d \right )^{\frac {7}{2}}}{7}}{e^{3}}\) | \(68\) |
default | \(\frac {\frac {2 c^{2} d^{2} \left (e x +d \right )^{\frac {11}{2}}}{11}+\frac {4 \left (e^{2} a -c \,d^{2}\right ) c d \left (e x +d \right )^{\frac {9}{2}}}{9}+\frac {2 \left (e^{2} a -c \,d^{2}\right )^{2} \left (e x +d \right )^{\frac {7}{2}}}{7}}{e^{3}}\) | \(68\) |
gosper | \(\frac {2 \left (e x +d \right )^{\frac {7}{2}} \left (63 e^{2} x^{2} c^{2} d^{2}+154 a c d \,e^{3} x -28 c^{2} d^{3} e x +99 a^{2} e^{4}-44 a c \,d^{2} e^{2}+8 c^{2} d^{4}\right )}{693 e^{3}}\) | \(73\) |
trager | \(\frac {2 \left (63 c^{2} d^{2} e^{5} x^{5}+154 a c d \,e^{6} x^{4}+161 c^{2} d^{3} e^{4} x^{4}+99 a^{2} e^{7} x^{3}+418 a c \,d^{2} e^{5} x^{3}+113 c^{2} d^{4} e^{3} x^{3}+297 a^{2} d \,e^{6} x^{2}+330 a c \,d^{3} e^{4} x^{2}+3 c^{2} d^{5} e^{2} x^{2}+297 a^{2} d^{2} e^{5} x +22 a c \,d^{4} e^{3} x -4 c^{2} d^{6} e x +99 a^{2} d^{3} e^{4}-44 a c \,d^{5} e^{2}+8 c^{2} d^{7}\right ) \sqrt {e x +d}}{693 e^{3}}\) | \(192\) |
risch | \(\frac {2 \left (63 c^{2} d^{2} e^{5} x^{5}+154 a c d \,e^{6} x^{4}+161 c^{2} d^{3} e^{4} x^{4}+99 a^{2} e^{7} x^{3}+418 a c \,d^{2} e^{5} x^{3}+113 c^{2} d^{4} e^{3} x^{3}+297 a^{2} d \,e^{6} x^{2}+330 a c \,d^{3} e^{4} x^{2}+3 c^{2} d^{5} e^{2} x^{2}+297 a^{2} d^{2} e^{5} x +22 a c \,d^{4} e^{3} x -4 c^{2} d^{6} e x +99 a^{2} d^{3} e^{4}-44 a c \,d^{5} e^{2}+8 c^{2} d^{7}\right ) \sqrt {e x +d}}{693 e^{3}}\) | \(192\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 79, normalized size = 0.95 \begin {gather*} \frac {2}{693} \, {\left (63 \, {\left (x e + d\right )}^{\frac {11}{2}} c^{2} d^{2} - 154 \, {\left (c^{2} d^{3} - a c d e^{2}\right )} {\left (x e + d\right )}^{\frac {9}{2}} + 99 \, {\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} {\left (x e + d\right )}^{\frac {7}{2}}\right )} e^{\left (-3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 180 vs.
\(2 (69) = 138\).
time = 2.23, size = 180, normalized size = 2.17 \begin {gather*} -\frac {2}{693} \, {\left (4 \, c^{2} d^{6} x e - 8 \, c^{2} d^{7} - 99 \, a^{2} x^{3} e^{7} - 11 \, {\left (14 \, a c d x^{4} + 27 \, a^{2} d x^{2}\right )} e^{6} - {\left (63 \, c^{2} d^{2} x^{5} + 418 \, a c d^{2} x^{3} + 297 \, a^{2} d^{2} x\right )} e^{5} - {\left (161 \, c^{2} d^{3} x^{4} + 330 \, a c d^{3} x^{2} + 99 \, a^{2} d^{3}\right )} e^{4} - {\left (113 \, c^{2} d^{4} x^{3} + 22 \, a c d^{4} x\right )} e^{3} - {\left (3 \, c^{2} d^{5} x^{2} - 44 \, a c d^{5}\right )} e^{2}\right )} \sqrt {x e + d} e^{\left (-3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.02, size = 97, normalized size = 1.17 \begin {gather*} \frac {2 \left (\frac {c^{2} d^{2} \left (d + e x\right )^{\frac {11}{2}}}{11 e^{2}} + \frac {\left (d + e x\right )^{\frac {9}{2}} \cdot \left (2 a c d e^{2} - 2 c^{2} d^{3}\right )}{9 e^{2}} + \frac {\left (d + e x\right )^{\frac {7}{2}} \left (a^{2} e^{4} - 2 a c d^{2} e^{2} + c^{2} d^{4}\right )}{7 e^{2}}\right )}{e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 599 vs.
\(2 (69) = 138\).
time = 1.15, size = 599, normalized size = 7.22 \begin {gather*} \frac {2}{3465} \, {\left (231 \, {\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} - 10 \, {\left (x e + d\right )}^{\frac {3}{2}} d + 15 \, \sqrt {x e + d} d^{2}\right )} c^{2} d^{5} e^{\left (-2\right )} + 297 \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} - 21 \, {\left (x e + d\right )}^{\frac {5}{2}} d + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{2} - 35 \, \sqrt {x e + d} d^{3}\right )} c^{2} d^{4} e^{\left (-2\right )} + 2310 \, {\left ({\left (x e + d\right )}^{\frac {3}{2}} - 3 \, \sqrt {x e + d} d\right )} a c d^{4} + 33 \, {\left (35 \, {\left (x e + d\right )}^{\frac {9}{2}} - 180 \, {\left (x e + d\right )}^{\frac {7}{2}} d + 378 \, {\left (x e + d\right )}^{\frac {5}{2}} d^{2} - 420 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{3} + 315 \, \sqrt {x e + d} d^{4}\right )} c^{2} d^{3} e^{\left (-2\right )} + 3465 \, \sqrt {x e + d} a^{2} d^{3} e^{2} + 1386 \, {\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} - 10 \, {\left (x e + d\right )}^{\frac {3}{2}} d + 15 \, \sqrt {x e + d} d^{2}\right )} a c d^{3} + 3465 \, {\left ({\left (x e + d\right )}^{\frac {3}{2}} - 3 \, \sqrt {x e + d} d\right )} a^{2} d^{2} e^{2} + 5 \, {\left (63 \, {\left (x e + d\right )}^{\frac {11}{2}} - 385 \, {\left (x e + d\right )}^{\frac {9}{2}} d + 990 \, {\left (x e + d\right )}^{\frac {7}{2}} d^{2} - 1386 \, {\left (x e + d\right )}^{\frac {5}{2}} d^{3} + 1155 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{4} - 693 \, \sqrt {x e + d} d^{5}\right )} c^{2} d^{2} e^{\left (-2\right )} + 594 \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} - 21 \, {\left (x e + d\right )}^{\frac {5}{2}} d + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{2} - 35 \, \sqrt {x e + d} d^{3}\right )} a c d^{2} + 693 \, {\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} - 10 \, {\left (x e + d\right )}^{\frac {3}{2}} d + 15 \, \sqrt {x e + d} d^{2}\right )} a^{2} d e^{2} + 22 \, {\left (35 \, {\left (x e + d\right )}^{\frac {9}{2}} - 180 \, {\left (x e + d\right )}^{\frac {7}{2}} d + 378 \, {\left (x e + d\right )}^{\frac {5}{2}} d^{2} - 420 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{3} + 315 \, \sqrt {x e + d} d^{4}\right )} a c d + 99 \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} - 21 \, {\left (x e + d\right )}^{\frac {5}{2}} d + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{2} - 35 \, \sqrt {x e + d} d^{3}\right )} a^{2} e^{2}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.64, size = 80, normalized size = 0.96 \begin {gather*} \frac {2\,{\left (d+e\,x\right )}^{7/2}\,\left (99\,a^2\,e^4+99\,c^2\,d^4+63\,c^2\,d^2\,{\left (d+e\,x\right )}^2-154\,c^2\,d^3\,\left (d+e\,x\right )-198\,a\,c\,d^2\,e^2+154\,a\,c\,d\,e^2\,\left (d+e\,x\right )\right )}{693\,e^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________